angular.module('faApp')
.service('hongbaoService', [ 'ajaxService',function (ajaxService) {
  this.hongbaoList = function (cfg) {
    return ajaxService.post(ajaxService.getApiUri("HONGBAO_LIST"),cfg || {});
  };  

  this.hongbaoDetail = function (cfg) {
    return ajaxService.post(ajaxService.getApiUri("HONGBAO_DETAIL"),cfg || {});
  };  
  this.hongbaoJihuo = function (cfg) {
    return ajaxService.post(ajaxService.getApiUri("HONGBAO_JIHUO"),cfg || {});
  }; 
}]);
